/*
 * @Description: 核心入口文件
 * @Version: 1.0
 * @Autor: wangqiang
 * @Date: 2021-06-25 09:45:07
 * @LastEditors: wangqiang
 * @LastEditTime: 2021-07-01 10:20:44
 */
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { store, key } from './store';
// 设置rem基准值
import 'lib-flexible'

//引入重置样式、动画库、全局scss样式
import './common/reset.css'
import './common/animate.css'
import './common/style.scss'

// 按需引入vant组件
import { vantPlugins } from './vant'

const app = createApp(App)
// 设置全局属性
app.config.globalProperties.url = 'http://xxx.abc.com/api'

app.use(vantPlugins).use(store, key).use(router).mount('#app')
